package com.vpen.account.demo.model.dto;

import com.vpen.account.demo.entity.AccountRole;
import com.vpen.account.demo.entity.AccountUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 描述
 *
 * @author 韦鹏
 * @date 2022/8/16 9:40
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class AccountUserRoles extends AccountUser {

    /**
     * 用户的角色
     */
    private List<AccountRole> roles;
}
